package pl.edu.mimuw.mas.agent.behaviour.hunting.grouping;

import jade.core.behaviours.SequentialBehaviour;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import pl.edu.mimuw.mas.agent.HuntingAgent;

public class GroupingBehaviour extends SequentialBehaviour {

	private static final long serialVersionUID = 2141419597113618524L;
	
	protected final Logger logger = LoggerFactory.getLogger(getClass());
	
	public GroupingBehaviour(HuntingAgent a) {
		super(a);
		// prosze o aktualizacje charyzmy
		addSubBehaviour(new CharismaUpdateBehaviour(a));
		// grupuje sie
		addSubBehaviour(new LeaderChooseBehaviour(a));
	}
	
}
